package com.qs.ordermanage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;

@Alias("Order")
@TableName(value = "t_order")
@Data
public class Order implements Serializable {

    @TableId(type = IdType.ID_WORKER_STR)
    private String orderId;

    private String orderName;

    private Date orderDate;

}
